package com.livestocksolutions.util;

import com.livestocksolutions.Location;

/**
 * Store an Usable Item, that can be stored directly in a ComboBox.
 * @param <T> The Sub-Class or UsableItem to store in this UsableItemList
 *
 * @author Adam Parr
 * @.modified 16 October 2012
 */
public class LocationList<T extends Location> extends ItemList<T> {
	/**
	 * Constructor
	 * @param location The Location to store in this Object
	 */
	public LocationList(T location){
		super(location);
	}
	
	@Override
	public String toString(){
		return item!=null?item.getName():"No Location";
	}
}
